Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(camera): Android dialog not fully showing when in landscape #2276

Merged
merged 3 commits into from
Dec 10, 2024

Conversation

alexgerardojacinto
Copy link
Collaborator

@alexgerardojacinto alexgerardojacinto commented Dec 10, 2024

  • Fixes the CameraSheetDialogFragment that wasn't fully showing when orientation was landscape, by explicitly setting its state to BottomSheetBehavior.STATE_EXPANDED.
  • Also removes unnecessary null check since instanceof will return false if behavior is null.

Closes: #2224

Context: If state isn't set to STATE_EXPANDED, the BottomSheet will open collapsed when orientation is landscape.

References: https://outsystemsrd.atlassian.net/browse/RMET-3826
Context: `instanceof` already returns `false if `behavior` is null

References: https://outsystemsrd.atlassian.net/browse/RMET-3826
@alexgerardojacinto alexgerardojacinto self-assigned this Dec 10, 2024
Copy link

github-actions bot commented Dec 10, 2024

Released dev build of camera with dev version: 7.0.0-dev-2276-20241210T153000.0

@alexgerardojacinto alexgerardojacinto merged commit 123193b into main Dec 10, 2024
9 checks passed
@alexgerardojacinto alexgerardojacinto deleted the fix/RMET-3826/dialog-landscape branch December 10, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Camera Prompt Landscape
3 participants